home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 65.zip
/
BS1 part 65
/
Math Visin v2.1 disk 1.adf
/
Arexx.WB
/
Simple
/
Powers
< prev
next >
Wrap
Text File
|
1992-02-12
|
551b
|
31 lines
/* Powers demonstrate the effect of raising a number to higher powers */
/* 14-Nov-89 dh */
ADDRESS "MathVision"
OPTIONS RESULTS
StopSign F /* no Control-C Yet */
NewProject
Comment1 "This demonstrates the effect of raising x to increasingly large powers"
Comment2 "starting at 2 and going through 30"
Comment3 ""
Overplot T
EraseScreen
xmin "-1.15"
xmax 1.15
ymin "-1.3"
ymax 1.3
PlotScreenToFront
DO power = -29 to 29 by 2
F0 "x^"power
SimplePen (power+31)/2
Get StopSign
IF RESULT = "T" THEN BREAK
PlotSimple
END
EditScreenToFront